home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
comms_w
/
hqfax32.zip
/
FRSEND.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-03-14
|
2KB
|
47 lines
Echo off
REM *********************************************************************/
REM */
REM SYSTEM : HQ-FAX, Uitilities */
REM COPYRIGHT : (c) 1995 HTF CONSULTING */
REM */
REM *********************************************************************/
REM */
REM BAT file name: FRSEND.bat */
REM DESCRIPTION : The FAX send batch file for the FAX96 product by */
REM Frmont Communications */
REM */
REM *********************************************************************/
REM
if %1 == 2 goto Docsolo
if %1 == 4 goto Docmany
if %1 == 5 goto CDocmany
CLS
Copy Covrletr.FAX Covrletr.000
Echo Sending Document %2 with cover letter to %3
if %1 == 3 goto Senddoc
Echo Sending Cover letter solo to %3
SendFAX.exe Covrletr.0* %3 /G %4 %5 %6
goto Quit
:Docsolo
Echo Sending Document %2 w/out cover letter to %3
:Senddoc
Copy %2.FAX %2.001
SendFAX.exe %2.0* %3 /G %4 %5 %6
goto Quit
:CDocmany
Echo Sending multi-file document "%2" with cover letter to %3
Copy Covrletr.FAX %2.000
Erase Covrletr.FAX
:Docmany
Echo Sending multi-file document "%2" w/out cover letter to %3
Call Renamall.bat %2 F 0
c:\facsimil\SendFAX.exe %2.0* %3 /G %3 %4 %5
:Quit
Echo on